<template>
  <div>
    <iframe
      ref="iframe"
      :src="iframeSrc"
      frameborder="0"
      width="100%"
      :height="iframeHeight"
      v-loading="iframeLoad"
    ></iframe>
  </div>
</template>

<script>

  let that
  export default {
    name: 'index',
    // dicts:["driver_adapt_url"],
    data(){
      return{
        iframeSrc:null,
        iframeHeight:window.innerHeight-90,
        iframeLoad:true
      }
    },
    beforeMount(){
      that = this
      this.getDicts("admin_monitor_url").then(res=>{
        that.iframeSrc = res.data[0].dictValue
      })
    },
    mounted() {

    }
  }
</script>

<style scoped>

</style>
